import Vue from 'vue'
import 'normalize.css/normalize.css'
import App from './App.vue'
import router from './router'
import store from './store'
import request from '@/plugins/request'
import bus from '@/plugins/bus'
import register from '@/plugins/register'
import authInject from '@/router/auth-inject';
import 'element-ui/lib/theme-chalk/index.css'; // 引入ElementUI样式
import '@/plugins/element'; // 按需引入ElementUI
import '@/assets/styles/index.scss'; // 引入全局样式

authInject(router)

Vue.config.productionTip = false

Vue.use(request)
Vue.use(bus)
Vue.use(register)



new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
